<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../images/favicon.ico">
    <!-- 引入header -->
    <include file="Public/header" />
    <!-- 结束 -->
  <!-- Main Navbar -->
  <div class="main-nav">    
      <nav class="navbar navbar-expand-lg">
          <div class="collapse navbar-collapse" id="navbarNavDropdown">
            <ul class="navbar-nav">
              <li class="nav-item active">
                <a class="nav-link" href="/admin.php"><span class="active-item-here"></span><i class="fa fa-dashboard mr-5"></i> <span>仪表盘</span></a>
              </li>
              <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  <i class="fa fa-th mr-5"></i> <span>应用中心</span>
                </a>                  
                <ul class="dropdown-menu multilevel scale-up-left">
                  <li class="nav-item"><a class="nav-link" href="{:U('tools/index')}">应用管理</a></li>
                  <li class="nav-item"><a class="nav-link active" href="{:U('tools/add')}">新增应用</a></li>     
                  <li class="nav-item"><a class="nav-link" href="{:U('tools/classe')}">分类管理</a></li> 
                  <li class="nav-item"><a class="nav-link" href="{:U('tools/link')}">友链管理</a></li>
                  <li class="nav-item"><a class="nav-link" href="{:U('tools/menu')}">导航管理</a></li>
                                   
                </ul>                 
              </li> 
              
              <li class="nav-item dropdown m-menu m-fix">
                <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  <i class="fa fa-table mr-5"></i> <span>系统设置</span>
                </a>
                <div class="dropdown-menu menu-mega mega-menu-auto scale-up-left">
                    <ul class="dropdown-menu multilevel scale-up-left">
                        <li>
                            <a class="nav-link" href="{:U('system/index')}" title=""><i class="fa fa-creative-commons mr-15"></i>基础设置</a>
                        </li>
                        <li>
                            <a class="nav-link" href="{:U('system/upinfo')}" title=""><i class="fa fa-address-card-o mr-15"></i>信息修改</a>
                        </li>
                        <li>
                            <a class="nav-link" href="{:U('system/temp')}" title=""><i class="fa fa-cubes mr-15"></i>模板设置</a>
                        </li>
                       <!--  -->
                    </ul><!-- /.menu-mega-child one-four -->
                          
                    
                </div>
                  
              </li>
              
              <li class="nav-item dropdown m-menu">
                <a class="nav-link" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  <i class="fa fa-laptop mr-5"></i> <span>应用商店</span>
                </a>
                <div class="dropdown-menu menu-mega scale-up-down">
                  
                    
                </div>
                  
              </li>               
              <li class="nav-item">
                <a class="nav-link" href="{:U('update/index')}">
                  <i class="fa fa-puzzle-piece mr-5"></i>检查更新
                </a>
              </li>
               
            </ul>
          </div>
        </nav>    
  </div>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">

    <!-- Main content -->
    <section class="content">
      <div class="row">
        <div class="col-xl-3 col-md-6 col-12 ">
            <div class="box bg-info">
              <div class="box-body">
                <div class="flexbox">
                  <h5>应用总数</h5>
                  <div class="dropdown">
                    <span class="dropdown-toggle no-caret" data-toggle="dropdown"><i class="ion-android-more-vertical rotate-90"></i></span>
                    <div class="dropdown-menu dropdown-menu-right">
                      
                      <a class="dropdown-item" href="#"><i class="ion-android-add"></i> 新增应用</a>
                     
                    </div>
                  </div>
                </div>

                <div class="text-center my-2">
                  <div class="font-size-60 text-white">{$toolscount}</div>
                  <span class="text-white">应用总数</span>
                </div>
              </div>

              <div class="card-body bg-gray-light py-12">
                <span class="text-muted mr-1">应用总数:</span>
                <span class="text-dark">{$toolscount}</span>
              </div>

              <div class="progress progress-xxs mt-0 mb-0">
                <div class="progress-bar bg-info" role="progressbar" style="width: 65%; height: 3px;" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
              </div>
            </div>
        </div>
        <!-- /.col -->
        <div class="col-xl-3 col-md-6 col-12 ">
            <div class="box bg-danger">
              <div class="box-body">
                <div class="flexbox">
                  <h5>分类总数</h5>
                  <div class="dropdown">
                    <span class="dropdown-toggle no-caret" data-toggle="dropdown"><i class="ion-android-more-vertical rotate-90"></i></span>
                    <div class="dropdown-menu dropdown-menu-right">
                      
                      <a class="dropdown-item" href="#"><i class="ion-android-add"></i>新增分类</a>
                      
                    </div>
                  </div>
                </div>

                <div class="text-center my-2">
                  <div class="font-size-60 text-white">{$classcount}</div>
                  <span class="text-white">分类总数</span>
                </div>
              </div>

              <div class="box-body bg-gray-light py-12">
                <span class="text-muted mr-1">分类总数:</span>
                <span class="text-dark">{$classcount}</span>
              </div>

              <div class="progress progress-xxs mt-0 mb-0">
                <div class="progress-bar bg-danger" role="progressbar" style="width: 72%; height: 3px;" aria-valuenow="72" aria-valuemin="0" aria-valuemax="100"></div>
              </div>
            </div>
        </div>
        <!-- /.col -->

        <div class="col-xl-3 col-md-6 col-12">
            <div class="box">
              <div class="box-body bg-primary">
                <div class="flexbox">
                  <h5>友情链接</h5>
                  <div class="dropdown">
                    <span class="dropdown-toggle no-caret" data-toggle="dropdown"><i class="ion-android-more-vertical rotate-90"></i></span>
                    <div class="dropdown-menu dropdown-menu-right">
                      
                      <a class="dropdown-item" href="#"><i class="ion-android-add"></i> 新增友情链接</a>
                      
                    </div>
                  </div>
                </div>

                <div class="text-center my-2">
                  <div class="font-size-60 text-white">{$linkcount}</div>
                  <span class="text-white">友情链接</span>
                </div>
              </div>

              <div class="box-body bg-gray-light py-12">
                <span class="text-muted mr-1">友情链接:</span>
                <span class="text-dark">{$linkcount}</span>
              </div>

              <div class="progress progress-xxs mt-0 mb-0">
                <div class="progress-bar bg-primary" role="progressbar" style="width: 55%; height: 3px;" aria-valuenow="55" aria-valuemin="0" aria-valuemax="100"></div>
              </div>
            </div>
        </div>
        <!-- /.col -->
        <div class="col-xl-3 col-md-6 col-12">
            <div class="box bg-success">
              <div class="box-body">
                <div class="flexbox">
                  <h5>导航菜单</h5>
                  <div class="dropdown">
                    <span class="dropdown-toggle no-caret" data-toggle="dropdown"><i class="ion-android-more-vertical rotate-90"></i></span>
                    <div class="dropdown-menu dropdown-menu-right">
                      
                      <a class="dropdown-item" href="#"><i class="ion-android-add"></i>新增导航</a>
                      
                    </div>
                  </div>
                </div>

                <div class="text-center my-2">
                  <div class="font-size-60 text-white">{$menucount}</div>
                  <span class="text-white">导航总数</span>
                </div>
              </div>

              <div class="box-body bg-gray-light py-12">
                <span class="text-muted mr-1">导航菜单:</span>
                <span class="text-dark">{$menucount}</span>
              </div>

              <div class="progress progress-xxs mt-0 mb-0">
                <div class="progress-bar bg-success" role="progressbar" style="width: 95%; height: 3px;" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100"></div>
              </div>
            </div>
        </div>
        <!-- /.col -->
          
      </div>   
      <div class="box">
            <div class="box-body box-profile">            
              <div class="row">
                <div class="col-md-4 col-12">
                    <div class="profile-user-info">
                        <p>当前域名 :<span class="text-gray pl-10">{$_SERVER['SERVER_NAME']}</span> </p>
                        <p>当前环境 :<span class="text-gray pl-10">{$_SERVER['SERVER_SOFTWARE']}</span></p>
                        <p>当前IP :<span class="text-gray pl-10">{$_SERVER['REMOTE_ADDR']}</span></p>
                        <div id="tp-weather-widget"></div>
                        
                    </div>
                </div>
                <div class="col-md-7 col-12">
                    <div class="profile-user-info">                     
                        <p class="margin-bottom">快捷入口：</p>
                        <div class="">
                            <a class="btn btn-app btn-info" href="{:U('tools/add')}"><i class="fa fa-edit"></i> 发布工具</a>
                            <a class="btn btn-app btn-primary" href="{:U('tools/linkadd')}"><i class="fa fa-edit"></i> 新建友链 </a>
                            <a class="btn btn-app btn-secondary" href="{:U('system/upinfo')}"><i class="fa fa-edit"></i> 修改密码</a>
                            <a class="btn btn-app btn-success" href="#"><i class="fa fa-play"></i> 应用商店(暂未开放)</a>
                            <a class="btn btn-app btn-warning" href="{:U('update/index')}"><i class="fa fa-repeat"></i> 检查更新</a>
                            <a class="btn btn-app btn-danger" href="{:U('index/LoginOut')}"><i class="fa fa-power-off"></i> 退出登录</a>
                        </div>
                    </div>
                </div>
                <div class="col-md-5 col-12">
                    <div class="profile-user-info">
                        <div class="map-box">
                         
                        </div>
                    </div>
                </div>
              </div>
            </div>
            <!-- /.box-body -->
          </div> 
        <div class="box">
            <div class="box-body box-profile">            
              <div class="row">
                <div class="col-md-4 col-12">
                    <div class="profile-user-info">
                        <p>邮箱 :<span class="text-gray pl-10">304366@qq.com</span> </p>
                        <p>开发 :<span class="text-gray pl-10">默笙团队</span></p>
                        <p>框架 :<span class="text-gray pl-10">ThinkPHPV3.2.4</span></p>
                        <script type="text/javascript" src="__PUBLIC__/Admin/js/clock.js"></script>
                    </div>
                </div>
                <div class="col-md-3 col-12">
                    <div class="profile-user-info">                     
                        <p class="margin-bottom">点击图标加入QQ群<br><br><br>立即开启小灶服务─=≡Σ(((つ•̀ω•́)つ</p>
                        <div class="user-social-acount">
                            <a href="https://jq.qq.com/?_wv=1027&k=54hfBl8" target="_blank" class="btn btn-circle btn-social-icon "><i class="fa fa-qq"></i></a>
                            
                        </div>
                    </div>
                </div>
                <div class="col-md-5 col-12">
                    <div class="profile-user-info">
                        <p>感谢以下用户支持(此处用户自行删除 /Admin/View/Index/index.html)</p>
                        <p><a target="_blank" href="//pengsirs.com">彭先生博客</a>&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="//pengsirs.com">I AM I</a></p>
                    </div>
                </div>
                
              </div>
            </div>
            <!-- /.box-body -->
          </div>
      <div class="row">
       
      
      </div>      
      <!-- /.row -->          
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <!-- 引入footer -->
  <include file="Public/footer" />
  <!-- 结束 -->
    <!-- Fab admin horizontal-layout -->
    <script src="__PUBLIC__/Admin/js/horizontal-layout.js"></script>
    <script>(function(T,h,i,n,k,P,a,g,e){g=function(){P=h.createElement(i);a=h.getElementsByTagName(i)[0];P.src=k;P.charset="utf-8";P.async=1;a.parentNode.insertBefore(P,a)};T["ThinkPageWeatherWidgetObject"]=n;T[n]||(T[n]=function(){(T[n].q=T[n].q||[]).push(arguments)});T[n].l=+new Date();if(T.attachEvent){T.attachEvent("onload",g)}else{T.addEventListener("load",g,false)}}(window,document,"script","tpwidget","//widget.seniverse.com/widget/chameleon.js"))</script>
<script>tpwidget("init", {
    "flavor": "slim",
    "location": "WX4FBXXFKE4F",
    "geolocation": "enabled",
    "language": "zh-chs",
    "unit": "c",
    "theme": "chameleon",
    "container": "tp-weather-widget",
    "bubble": "enabled",
    "alarmType": "badge",
    "uid": "U99066903B",
    "hash": "3cadea165f265d8fe6dd518286ce585b"
});
tpwidget("show");</script>
    
</body>
</html>
